package com.chenkaiwei.eurekaclientfeigndemo;


import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component//←注意：勿漏
public class DataRemoteClientFeignFallBack implements DataRemoteClientFeign {
    @Override
    public String dataFromRemoteService() {
        log.error("无法访问到远程服务EUREKA-CLIENT-DATA-DEMO");
        return "无法访问到远程服务EUREKA-CLIENT-DATA-DEMO";
    }
}
